package com.spring.boot.model;



public class Stu {
    private Long id;
    private String stuName;
    private Integer stuSex;
    private String stuProvince;

    public Stu() {
    }

    public Stu(Long id, String stuName) {
        this.id = id;
        this.stuName = stuName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public Integer getStuSex() {
        return stuSex;
    }

    public void setStuSex(Integer stuSex) {
        this.stuSex = stuSex;
    }

    public String getStuProvince() {
        return stuProvince;
    }

    public void setStuProvince(String stuProvince) {
        this.stuProvince = stuProvince;
    }

    @Override
    public String toString() {
        return "Stu{" +
                "id=" + id +
                ", stuName='" + stuName + '\'' +
                ", stuSex=" + stuSex +
                ", stuProvince='" + stuProvince + '\'' +
                '}';
    }
}
